<div style="display: none;" id="totop">
	<a></a>
</div>
<div id="head">
	<div class="head">
		<div id="dh">
			<div class="logo">
				<a href="__APP__/"> <img src="images/logo.png" alt="[sys:sitename]" height="38" width="166"></a>
			</div>
			<div id="nav">
				<ul>
					{if:$channel[name]=="null"}
					<li id="" class="nav_lishw"><span class="v"><a
							class="sele" href="__APP__/">首页</a></span>
						<div style="display: block;" class="kind_menu">
							欢迎您访问深圳市深宏创贸易有限公司网站，我们将为您提供最优质的服务!</div></li> {else}
					<li id=""><span class="v"><a class="" href="__APP__/">首页</a></span>
						<div style="display: none;" class="kind_menu">
							欢迎您访问深圳市深宏创贸易有限公司网站，我们将为您提供最优质的服务!</div></li> {end if}
					<!--channel:{table=(channel) type=(top) limit=(6) order=(id asc)}-->
					{if:$top_info[name]==$channel[name]}
					<li id="" class="nav_lishw"><span class="v"><a
							class="sele" href="__ROOT__/[channel:url]">[channel:name]</a></span>
						<div style="display: block; padding-left: 						<?php 
	   	    $channelid=$channel[id];
			switch ($channelid)
{
case 1:  
  $i=0;
  break;  
case 2:  
  $i=150;
  break;
case 12:  
  $i=180;
  break;
case 13:  
  $i=330;
  break;
case 14:  
  $i=380;
  break;
case 15:  
  $i=460;
  break;
default:
 $i=0;
  break;
}

echo $i;
	   	    ?>px;" class="kind_menu">
							<!--list:{table=(channel) pid=(#[channel:id]#) limit=(10) order=(id asc)}-->
							<span>·</span><a href="[list:curl]" id="rpabout_ctl00_aname">[list:name]</a>
							<!--/list-->
						</div></li> {else}
					<li id=""><span class="v"><a class="" href="__ROOT__/[channel:url]">[channel:name]</a></span>

						<div style="display: none; padding-left: 						<?php 
	   	    $channelid=$channel[id];
			switch ($channelid)
{
case 1:  
  $i=0;
  break;  
case 2:  
  $i=150;
  break;
case 12:  
  $i=180;
  break;
case 13:  
  $i=330;
  break;
case 14:  
  $i=380;
  break;
case 15:  
  $i=460;
  break;
default:
 $i=0;
  break;
}

echo $i;
	   	    ?>px; "
							class="kind_menu">
							<!--list:{table=(channel) pid=(#[channel:id]#) limit=(10) order=(id asc)}-->
							<span>·</span><a href="[list:curl]" id="rpabout_ctl00_aname">[list:name]</a>
							<!--/list-->
						</div></li> {end if}

					<!--/channel-->
					<li>
						<span class="v" style="font-size:12px; font-weight:normal;">
							<a style="background:none; width:48px; font-size:12px; display:inline; font-weight:normal; color:#444;" class="sele" href="/">中文版</a> |
							<a style="background:none; width:48px; font-size:12px; display:inline; font-weight:normal; color:#444;" class="sele" href="/english/">English</a>
						</span>
					</li>
					
				</ul>
			</div>
			<div class="clearfix"></div>
			<div class="green">
				<img src="images/green_tree.png" height="48" width="50">
			</div>
	<script type="text/javascript">
				var site_url = window.location.href.toLowerCase();
				switch (true) {
				default:
					$(this).attr("id", "")
					$("#nav li .v .shutahover").attr("class", "sele");
					setTimeout(function() {
						$(".nav_lishw .kind_menu").show();
						$(".nav_lishw .v a").attr("class", "sele");
					}, 50);
				}
				$("#nav li").hover(function() {
					clearTimeout(setTimeout("0") - 1);
					$("#nav .kind_menu").hide();
					$("#nav li .v .sele").attr("class", "shutahover");
					$(this).attr("id", "nav_hover")
					$("#nav_hover .v a").attr("class", "sele");
					$("#nav_hover .kind_menu").show();
				}, function() {

					if ($(this).attr("class") != "nav_lishw") {
						$("#nav_hover .v .sele").attr("class", "");
						$("#nav_hover .kind_menu").hide();
					}
					$(this).attr("id", "")
					$("#nav li .v .shutahover").attr("class", "sele");
					setTimeout(function() {
						$(".nav_lishw .kind_menu").show();
						$(".nav_lishw .v a").attr("class", "sele");
					}, 50);
				});
				var LastLeftID = "";
function menuFix() {
 var obj = document.getElementById("nav").getElementsByTagName("li");
 
 for (var i=0; i<obj.length; i++) {
  obj[i].onmouseover=function() {
   this.className+=(this.className.length>0? " ": "") + "sfhover";
  }
  obj[i].onMouseDown=function() {
   this.className+=(this.className.length>0? " ": "") + "sfhover";
  }
  obj[i].onMouseUp=function() {
   this.className+=(this.className.length>0? " ": "") + "sfhover";
  }
  obj[i].onmouseout=function() {
   this.className=this.className.replace(new RegExp("( ?|^)sfhover\\b"), "");
  }
 }
}
function DoMenu(emid)
{
 var obj = document.getElementById(emid); 
 obj.className = (obj.className.toLowerCase() == "expanded"?"collapsed":"expanded");
 if((LastLeftID!="")&&(emid!=LastLeftID)) //关闭上一个Menu
 {
  document.getElementById(LastLeftID).className = "collapsed";
 }
 LastLeftID = emid;
}
function GetMenuID()
{
 var MenuID="";
 var _paramStr = new String(window.location.href);
 var _sharpPos = _paramStr.indexOf("#");
 
 if (_sharpPos >= 0 && _sharpPos < _paramStr.length - 1)
 {
  _paramStr = _paramStr.substring(_sharpPos + 1, _paramStr.length);
 }
 else
 {
  _paramStr = "";
 }
 
 if (_paramStr.length > 0)
 {
  var _paramArr = _paramStr.split("&");
  if (_paramArr.length>0)
  {
   var _paramKeyVal = _paramArr[0].split("=");
   if (_paramKeyVal.length>0)
   {
    MenuID = _paramKeyVal[1];
   }
  }
  /*
  if (_paramArr.length>0)
  {
   var _arr = new Array(_paramArr.length);
  }
  
  //取所有#后面的，菜单只需用到Menu
  //for (var i = 0; i < _paramArr.length; i++)
  {
   var _paramKeyVal = _paramArr[i].split('=');
   
   if (_paramKeyVal.length>0)
   {
    _arr[_paramKeyVal[0]] = _paramKeyVal[1];
   }  
  }
  */
 }
 
 if(MenuID!="")
 {
  DoMenu(MenuID)
 }
}
GetMenuID(); //*这两个function的顺序要注意一下，不然在Firefox里GetMenuID()不起效果
menuFix();
			</script>
		</div>
	</div>
</div>